using System.Collections.Generic;

namespace Box.GameCore {
    public partial interface ISandbox {
        int Width {get;}
        int Height {get;}
        Dictionary<long,ISandboxRegion> Regions {get;}
        void SetTile(int x,int y,int z,string tile_name);
        ISandboxRegion GetRegion(int rx,int ry);
        T GetRegion<T>(int rx,int ry) where T : ISandboxRegion;
        IBlock GetTileInstance(int x,int y,int z);
        void AddRegion(ISandboxRegion region);
        void RemoveRegion(ISandboxRegion region);
    }
}